/*
* Copyright 2008 Google Inc.
* Licensed under the Apache License, Version 2.0:
*  http://www.apache.org/licenses/LICENSE-2.0
* Modified by Sowmya
*/
package net.es.weathermap {

import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import mx.controls.Image;
import mx.core.UIComponent;
import mx.core.BitmapAsset;


/**
 * InfoWindowSprite is a sprite that contains sub sprites that function as tabs.
 */
public class CustomArrow extends Sprite {
    [Embed('markers/arrow.png')]
    [Bindable]
    private var TestImg1:Class;


    public function CustomArrow(angle:Number,xoff:Number,yoff:Number){

    	var imgObj:BitmapAsset = new TestImg1() as BitmapAsset;
    	imgObj.width=7;
    	imgObj.height = 10;
    	imgObj.rotation = angle;
    	imgObj.x = xoff;
    	imgObj.y=yoff;
    	addChild(imgObj);
    	var img:Image = new Image();
        img.source = imgObj;
        addChild(img);

    }



}
}
